<?php
namespace core;
require_once dirname(dirname(__FILE__)).'/api/core/Mt.class.php';
class Mt extends \api\core\Mt{
    public static $comconf;
    public static function getComponent($Component) {
        if (!defined("FRM_PATH")) {
            define("FRM_PATH", dirname(dirname(__FILE__)));
        }
        require_once FRM_PATH . '/core/autoload.fun.php';
        config::setGlobal();
        self::$comconf = new \core\config($Component);
        return self::$comconf;
    }

}

?>